package I;

import javax.swing.*;
import java.awt.*;

/**
 * 查询界面
 */
public class SearchPanel extends JPanel {
    private JLabel getmoneyLabel = new JLabel("余额:");
    private ImageIcon sureImg= new ImageIcon("Images/buttonSure.jpg");
    private Font font = new Font("微软雅黑",Font.BOLD,25);
    private JButton sureBth= new JButton(sureImg);
    public SearchPanel(){
        this.setLayout(null);
        sureBth.setBounds(550,300,150,50);
        getmoneyLabel.setBounds(350,200,200,50);
        getmoneyLabel.setFont(font);
        this.add(getmoneyLabel);
        this.add(sureBth);
        this.setOpaque(false);
    }
}
